package com.hx.pojo;

import java.util.Arrays;

/**
 * @author: 若若叶
 * @date: 2021/9/15 14:03 FileName: Person Description:
 */
public class Person {
  private Integer id;
  private String name;
  private String address;
  private Student student;
  private Integer[] array;

  public void setArray(Integer[] array) {
    this.array = array;
  }

  public void setStudent(Student student) {
    this.student = student;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  @Override
  public String toString() {
    return "Person{"
        + "id="
        + id
        + ", name='"
        + name
        + '\''
        + ", address='"
        + address
        + '\''
        + ", student="
        + student
        + ", array="
        + Arrays.toString(array)
        + '}';
  }
}
